package com.zhida.smartcontrol.dialog.nbdialog;

import com.tan.linkpicker.wheelview.interfaces.IPickerViewData;

/**
 * author: tanjianpei
 * date: 2019/12/16 016 16:58
 * description:
 */
public class CardBean implements IPickerViewData {
    private int id; //序号
    private String cardNo; //选项显示的值
    private String type; // 选项对应的亮度值

    public CardBean(int id, String cardNo) {
        this.id = id;
        this.cardNo = cardNo;
    }

    public CardBean(int id, String cardNo, String type) {
        this.id = id;
        this.cardNo = cardNo;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @Override
    public String getPickerViewText() {
        return cardNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
